import { get, post } from '@/axios/index.js'


//查询
export const bookingRecords = (data)=>get('/system/place/bookingRecords',data)

export const bookingRecordDetails = (id)=>get('/system/place/details/'+id)

//同意
export const approveBooking = (id, status) =>post(`/system/place/approval/${id}/${status}`);
